my_dict = {'apple': 1, 'banana': 2, 'orange': 3}

print(my_dict)

my_dict.pop('banana')  # remove the key-value pair with key 'banana'

print(my_dict)

my_dict.update({'grape': 4, 'pear': 5})  # add new key-value pairs

print(my_dict)

my_dict.clear()  # remove all key-value pairs

print(my_dict)

my_dict['apple'] = 4  # update the value of key 'apple'

print(my_dict)
